package asteroids.model.programs.Statement;

import asteroids.model.programs.Expression.Expression;

/**
* 
* @version 0.3
* @author  Tandan Sunil, Van Deun Luca
*
*/
public abstract class  ShortStatement extends Statement {

	private Expression expression;

	public ShortStatement(int line, int column,Expression exp) {
		super(line, column);
		if(exp == null)
			throw new IllegalArgumentException();
		this.expression=exp;
	}

	public Expression getExpression() {
		return expression;
	}

	protected void setExpression(Expression exp){
		this.expression=exp;
	}
}
